<%@page import="com.kensure.shike.sys.model.SKDict"%>
<%@page import="java.util.List"%>
<%@page import="com.kensure.shike.sys.service.SKDictService"%>
<%@page import="com.kensure.shike.constant.BusiConstant"%>
<%@page import="co.kensure.api.ApiUtil"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"	pageEncoding="UTF-8"%>

<!DOCTYPE html>
<html>
<jsp:include page="base/header.jsp" flush="true"> 
 <jsp:param value="首页" name="pageTitle"/>
</jsp:include>

<!--必要样式-->
<link rel="stylesheet" href="<%=BusiConstant.context%>/common/css/style.css" type="text/css" />
<body>
<jsp:include page="base/nav.jsp" flush="true"> 
 <jsp:param value="首页" name="pageName"/>
</jsp:include>

	<div>	
     	<table id="headtable">
     		<thead></thead>
         	<tbody></tbody>
        </table>
    </div>
</body>



<script>
	var table = createtable("headtable");
	
	
	
	
	table.th = [{w:150,na:"类型",colname:"name"}
	,{w:150,na:"今日",colname:"benri"}
	,{w:150,na:"本月",colname:"benyue"}
	,{w:150,na:"本年",colname:"bennian"}];
	
	table.thinit();
	
	function sucdo(data){
		var rows = data.resultData.rows;
		fanye.init(data.resultData.total);	
		if(rows){	
			table.data = rows;
			table.tdinit();		
		}	
	}

	var fanye = new FanYe("fanye","huodonglist",0,20,1);
	
   function huodonglist(current){
	   if(!fanye.setpage(current)){
			return;
		}
	   var data = {pageNo:fanye.current,pageSize:fanye.limit};
	   var url = getbaseurl("/statistic/index.do");
	   postdo(url, data, sucdo,null, null);
   }
   huodonglist(1);
   
 
   
     
</script>


</html>